import type { PropType } from "vue";

import { basicModalEmits, basicModalProps } from "@/hooks/useModalToggle";

export const basicDialogProps = {
  ...basicModalProps,
  record: {
    type: Object as PropType<API.BOX.BoxListItem>,
    default: () => ({}),
  },
  title: {
    type: String,
    default: "",
  },
  stickyHeader: {
    type: Boolean,
    default: false,
  },
};

export const basicDialogEmits = {
  ...basicModalEmits,
};
